<template>
  <div id="app">
    <Head></Head>
    <div style="height: 60px"></div>
    <el-container>
      <Menu></Menu>
      <el-main>
        <keep-alive>
          <router-view v-if="iskeep"></router-view>
        </keep-alive>
        <router-view v-if="!iskeep"></router-view>
      </el-main>
    </el-container>
  </div>
</template>
<script>
import Head from "./components/head.vue";
import Menu from "./components/menu.vue";
export default {
  name: "App",
  components: {
    Head,
    Menu
  },
  computed: {
    iskeep() {
      return this.$route.meta.iskeep;
    },
  },
  created() {
    
  },
  mounted() {},
  methods: {
  },
};
</script>
<style lang="scss" scoped>
</style>
